package swissmap;

import utils.DLThread;

public class Downloader {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
	      
		
		
	      String curres="100k";
	      for(int i=3;i<Constants.res_arr.length;i++){
	    	  curres=Constants.res_arr[i];

	      
	      for(int col=Constants.dimx_start.get(curres);col<=Constants.dimx_end_max.get(curres);col++)
	      {
	    	  for(int r=Constants.dimy_start.get(curres);r<=Constants.dimy_end_max.get(curres);r++)
	    	  {
	    		  new DLThread(curres, col, r).run();
	    	  }
	    	  
	    	  if(col%10==0)
	    		  System.out.println("Processing column "+col);
	      }
	      }
	      System.out.println("FINISHED");
      }
}
